package com.ccit.greenlife.pojo;
public class Product {
    private int id;  //产品id
    private String name;    // 产品的名称
    private int num;    // 产品的数量
    private String type;    // 产品的名称
    private String img;    // 产品的图片链接
    private int price;    // 产品的价格（人民币）

    public Product() {
    }

    public Product(int id, String name, int num, String type, String img, int price) {
        this.id = id;
        this.name = name;
        this.num = num;
        this.type = type;
        this.img = img;
        this.price = price;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getImg() {
        return img;
    }

    public void setImg(String img) {
        this.img = img;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }
}
